// 统一管理里面的api
import request from '@/utils/request'

// api/dept 部门
export const getDept = (params) => {
  return request({
    url: '/api/dept',
    params
  })
}

// superior 部门
export const postDeptSuperior = (data) => {
  return request({
    url: '/api/dept/superior',
    method: 'POST',
    data
  })
}
